package com.leunpha.mini.spider.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * User: zhoujingjie
 * Date: 14-6-24
 * Time: 上午9:23
 */
@Target(value = {ElementType.FIELD})
@Retention(RUNTIME)
public @interface Regex {

    String value();

    boolean multiple() default false;

    String splitor() default "";
}
